<script setup lang="ts">
import {DevCopy} from "devecoui-plus";
</script>

<template>
  <el-card>
    <p>直接将想要复制的内容包裹在标签内</p>
    <dev-copy>
      175****7593
    </dev-copy>
  </el-card>

  <el-card style="margin: 20px 0">
    <p>不显示复制icon</p>
    <dev-copy :show-icon="false">
      175****7593
    </dev-copy>
  </el-card>

  <el-card>
    <p>复制的内容不直接在外展示</p>
    <dev-copy text="175****7593" only-copy-text>
      复制
    </dev-copy>
  </el-card>

</template>
